import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { PaginationModule} from '../../shared/pagination/pagination.module';

import { SlideshowsRoutingModule } from './slideshows-routing.module';
import { SlideshowsComponent} from './slideshows.component';
import { SlideshowsListComponent} from './slideshows-list.component';
import { SlideshowsRenameComponent } from './slideshows-rename.component';

import { SlideshowsService } from '../../services/slideshows.service';
import { NgDragDropModule } from 'ng-drag-drop';

import { ModalModule } from '../../shared/modal/modal.module';
import { FileUploadModule } from 'ng2-file-upload';

@NgModule({
  imports: [
    NgbModule,
    CommonModule,
    FormsModule,
    SlideshowsRoutingModule,
    PaginationModule,
    NgDragDropModule.forRoot(),
    ModalModule,
    FileUploadModule
  ],
  declarations: [
      SlideshowsComponent,
      SlideshowsListComponent,
      SlideshowsRenameComponent
  ],
  entryComponents: [SlideshowsRenameComponent],
  exports: [
  ],
  providers: [
      SlideshowsService
  ]
})
export class SlideshowsModule { }
